package cn.mulanbay.job.web.bean.request.database;

import cn.mulanbay.common.bean.PageSearch;
import cn.mulanbay.persistent.enums.CommonStatus;
import cn.mulanbay.persistent.query.Operator;
import cn.mulanbay.persistent.query.Query;

public class DatabaseCleanSearch extends PageSearch {

    @Query(column = "name", op = Operator.LIKE)
    private String name;

    @Query(column = "status", op = Operator.EQ)
    private CommonStatus status;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public CommonStatus getStatus() {
        return status;
    }

    public void setStatus(CommonStatus status) {
        this.status = status;
    }
}
